<%--
  Created by IntelliJ IDEA.
  User: YIMing
  Date: 2021/8/17/017
  Time: 17:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>中期检查-查询列表</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <script src="../layui/layui.js"></script>
    <script src="../js/jquery-3.1.0.js"></script>
    <script src="../js/FileSaver.js"></script>
    <script src="../js/wordexport.js"></script>
    <style>
        body {
            background-color: #eeeeee;
        }

        .layui-row {
            padding: 10px;
            margin: 10px;
            background-color: white;
            border-radius: 5px;
        }

        .left {
            width: 20%;
            padding: 5px;
            text-align: right;
        }

        .right {
            width: 30%;
            padding: 5px;
        }

        .layui-table-cell {
            height: 36px;
            line-height: 36px;
        }

        .layui-textarea {
            height: 150px;
        }

        .check-title {
            width: 140px;
            text-align: right;
        }

    </style>
</head>
<body>
<%--面包屑--%>
<div class="layui-row">
    <div class="layui-col-lg12">
        <span class="layui-badge layui-bg-orange" style="margin-bottom: -3px"></span>
        <span class="layui-breadcrumb">
                  <a href="http://localhost/student/home.jsp">首页</a>
                    <a class="" href="javascript:;">过程管理</a>
                    <a><cite>中期检查-查询列表</cite></a>
                </span>
    </div>
</div>
<%--论文信息表--%>
<div class="layui-row">
    <fieldset class="layui-elem-field layui-field-title">
        <legend>中期检查-查询列表</legend>
    </fieldset>
    <table class="layui-hide" id="paper-info" lay-filter="paper-info"></table>
</div>
</body>


<%--表内工具栏--%>
<script type="text/html" id="paper-info-tool">
    <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="query">查看详情</a>
    <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="export">word模板导出</a>
</script>
<%--课题详情表工具栏--%>
<div id="title-tool" style="display: none;">
    <a class="layui-btn layui-btn-xs " lay-event="taskDetail">课题详情</a>
</div>
<%--课题详情模板--%>
<div class="layui-row" id="task-detail" style="display: none">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <td colspan="4"><h2>学生课题详情内容</h2></td>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td class="left">编号:</td>
            <td class="right" id="task-id" colspan="3"></td>
        </tr>
        <tr>
            <td class="left">学号:</td>
            <td class="right" id="task-sno"></td>
            <td class="left">姓名:</td>
            <td class="right" id="task-sname"></td>
        </tr>
        <tr>
            <td class="left">指导老师</td>
            <td class="right" id="task-tname"></td>
            <td class="left">指导老师工号</td>
            <td class="right" id="task-tno"></td>

        </tr>
        <tr>
            <td class="left">所属学院:</td>
            <td class="right" id="task-college"></td>
            <td class="left">所属专业:</td>
            <td class="right" id="task-major"></td>
        </tr>
        <tr>
            <td class="left">标题:</td>
            <td class="right" id="task-title"></td>
            <td class="left">题目来源:</td>
            <td class="right" id="task-from"></td>
        </tr>
        <tr>
            <td class="left">题目类别:</td>
            <td class="right" id="task-category"></td>
            <td class="left">题目性质:</td>
            <td class="right" id="task-nature"></td>
        </tr>
        <tr>
            <td class="left">课题简介:</td>
            <td class="right" colspan="3" id="task-intr"></td>
        </tr>
        </tbody>
    </table>
</div>
<%--中期检查详情模板--%>
<div class="layui-row" id="query-report" style="display: none">
    <div class="layui-card">
        <div class="layui-card-header">
            <h2>查看中期检查详情</h2>
        </div>
        <div class="layui-card-body">
            <table class="layui-table" border="1">
                <tbody id="detail-tbody">
                </tbody>
                <tfoot>
                </tfoot>
            </table>
        </div>
    </div>
</div>
<div class="layui-row" id="check-detail" style="display: none">
    <div class="layui-card">
        <div class="layui-card-header">
            <h2>中期检查详情</h2>
        </div>
        <div class="layui-card-body">
            <table class="layui-table" border="1">
                <tbody id="check-tbody">
                <tr>
                    <td colspan="6">
                        <blockquote class="layui-elem-quote">
                            <h3>基本信息</h3>
                        </blockquote>
                    </td>
                </tr>

                <tr>
                    <td class="check-title">学生姓名：</td>
                    <td id="check-sName"></td>
                    <td class="check-title">学号：</td>
                    <td id="check-sNO"></td>
                    <td class="check-title">专业：</td>
                    <td id="check-major"></td>
                </tr>

                <tr>
                    <td class="check-title">课题名称：</td>
                    <td id="check-title" colspan="3"></td>
                    <td class="check-title">是否变化：</td>
                    <td id="check-isChange"></td>
                </tr>

                <tr>
                    <td class="check-title">变化原因：</td>
                    <td id="check-changeReason" colspan="5">论文无变化</td>
                </tr>

                <tr>
                    <td colspan="6">
                        <blockquote class="layui-elem-quote">
                            <h3>基本检查(一人一题,开题报告,文件调研)</h3>
                        </blockquote>
                    </td>
                </tr>

                <tr>
                    <td class="check-title">是否一人一题：</td>
                    <td id="check-isOne"></td>
                    <td class="check-title">是否进行开题报告：</td>
                    <td id="check-isReport"></td>
                    <td class="check-title">是否进行文件调研：</td>
                    <td id="check-isSurvey"></td>
                </tr>

                <tr>
                    <td class="check-title">拟解决问题：</td>
                    <td id="check-ques" colspan="5">无拟解决问题</td>
                </tr>

                <tr>
                    <td colspan="6">
                        <blockquote class="layui-elem-quote">
                            <h3>毕业设计进度检查</h3>
                        </blockquote>
                    </td>
                </tr>
                <tr>
                    <td class="check-title">论文进度情况：</td>
                    <td id="check-plan"></td>
                    <td class="check-title">论文延期滞后原因：</td>
                    <td id="check-planReason" colspan="3">论文没有延期滞后完成</td>
                </tr>

                <tr>
                    <td colspan="6">
                        <blockquote class="layui-elem-quote">
                            <h3>态度评价</h3>
                        </blockquote>
                    </td>
                </tr>
                <tr>
                    <td class="check-title">学生工作态度情况：</td>
                    <td id="check-stuManner"></td>
                    <td class="check-title">老师工作态度情况：</td>
                    <td id="check-tManner"></td>
                    <td class="check-title">中期质量：</td>
                    <td id="check-quality"></td>
                </tr>

                <tr>
                    <td class="check-title">审核意见：</td>
                    <td id="check-opinion1" colspan="5">暂无审核意见</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<%--获取当前登录的session中的学号--%>
<script>
    let sno;
    $(function () {
        sno = '${sessionScope.userName}';
    });
</script>
<script src="js/midCheck.js">
</script>
</html>